home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 1998 November
/
CHIP Kasım 1998.iso
/
DRIVERS
/
CD-Rom
/
220x.exe
/
CF2.BAT
< prev
next >
Wrap
DOS Batch File
|
1993-01-12
|
2KB
|
110 lines
ECHO OFF
cls
prompt $p$g
if "%1" == "?" goto usage
if "%1" == "at" goto inst
if "%1" == "AT" goto inst
if "%1" == "xt" goto inst
if "%1" == "XT" goto inst
if "%1" == "2at" goto inst
if "%1" == "2AT" goto inst
if "%1" == "2xt" goto inst
if "%1" == "2XT" goto inst
if "%1" == "3at" goto inst
if "%1" == "3AT" goto inst
if "%1" == "3xt" goto inst
if "%1" == "3XT" goto inst
if "%1" == "4at" goto inst
if "%1" == "4AT" goto inst
if "%1" == "4xt" goto inst
if "%1" == "4XT" goto inst
sel_seq
:inst
ECHO OFF
IF EXIST AUTOEXEC.BAT DEL AUTOEXEC.BAT
IF EXIST CONFIG.SYS DEL CONFIG.SYS
IF EXIST *.NEW DEL *.NEW
CLS
ECHO\
ECHO NOTICE: If the DOS version is 5.0, MS-DOS Extensions is ignored
ECHO as Incorrect DOS version.
ECHO\
ECHO AUTOEXEC.BAT and CONFIG.SYS files will be modified. Wait for a while.
IF EXIST CONFIG.SYS del config.SYS
IF EXIST AUTOEXEC.BAT del autoexec.BAT
ECHO\
ECHO ON
COPY C:\AUTOEXEC.BAT
COPY C:\CONFIG.SYS
ECHO OFF
shell3 del_DVR
shell3 del_MSCD
ECHO\
ECHO ON
COPY CONFIG.NEW+CONFIG.%1 CONFIG.NEW
ECHO OFF
shell3 app A:\%2
shell3 m_sys A:\%2
:take_cb
CLS
ECHO Some files will be copied from Library disk to the target disk.
ECHO Confirm that the target disk is inserted in the floppy disk
ECHO drive A.
ECHO You can install Sony MS-DOS CD-ROM Extentions on the floppy disk.
ECHO\
pause
if "%2" == "" goto make_cb
ECHO ON
MD A:\%2
ECHO OFF
:make_cb
ECHO ON
COPY AUTOEXEC.BAT+AUTOEXEC.ADD A:\AUTOEXEC.BAT
COPY CONFIG.SYS A:\
COPY SONY_CDU.SYS A:\%2
COPY MSCDEX.EXE A:\%2
ECHO OFF
IF EXIST AUTOEXEC.BAT DEL AUTOEXEC.BAT
IF EXIST CONFIG.SYS DEL CONFIG.SYS
IF EXIST *.NEW DEL *.NEW
LAST_MSG A %2
goto exit
:usage
echo\
echo\
echo USAGE...
echo\
echo CF2 XX [Option] and Enter
echo\
echo XX: Your computer type, AT or XT
echo Option: Sub Directory
echo\
echo\
echo CF2 ? and Enter ; Display this message.
echo\
echo\
:exit